<style type="text/css">
.outer {
  width:80%;
  margin:20px auto;
  border:1px solid #272424;
}
.buss {

}
.buss h3 {
  font-size: 14px;
  border-top: 1px solid #d1d1d1;
  color: #666666;
}
table {
  background-color: #CCCCCC;
  box-shadow: 0px 0px 15px #133c13;
  border-radius: 5px;
}
table tbody tr:first-child{
  background-color: #0A0A0A;
  color:white;
}
table tr {
  background-color: #EFF7F0;
}

</style>
<div class="outer">
       <h3>ASCII码表详解</h3>
        <div class="buss">
		<p>ASCII码表</p>
            <p>ASCII码大致可以分作三部分组成。<br>
<a href="http://www.asciima.com/ascii/2.html">第一部分是：ASCII非打印控制字符</a><br>
<a href="http://www.asciima.com/ascii/3.html">第二部分是：ASCII打印字符</a>；<br>
<a href="http://www.asciima.com/ascii/4.html">第三部分是：扩展ASCII打印字符</a>
</p>

<h3>第一部分：ASCII非打印控制字符表</h3>
<p>ASCII表上的数字0–31分配给了控制字符，用于控制像打印机等一些外围设备。例如，12代表换页/新页功能。此命令指示打印机跳到下一页的开头。（参详ASCII码表中0-31）</p>
<h3>第二部分：ASCII打印字符</h3>
<p>数字 32–126 分配给了能在键盘上找到的字符，当您查看或打印文档时就会出现。数字127代表 DELETE 命令。（参详ASCII码表中32-127）</p>
<p><strong>ASCII码表 0-127</strong></p>
<p><strong>ASCII码表 0-127</strong></p>
<p></p><div class="t1 bgg">
<table width="100%" border="0" cellspacing="1" cellpadding="5" tr="">
  <tbody><tr>
    <td width="15%">Bin</td>
    <td width="10%">Dec</td>
    <td width="10%">Hex</td>
    <td width="40%">缩写/字符</td>
    <td width="25%">解释</td>
  </tr>
  <tr>
    <td>00000000</td>
    <td>0</td>
    <td>00 </td>
    <td>NUL(null)</td>
    <td>空字符 </td>
  </tr>
  <tr>
    <td>00000001</td>
    <td>1</td>
    <td>01</td>
    <td>SOH(start of headling)</td>
    <td>标题开始 </td>
  </tr>
  <tr>
    <td>00000010</td>
    <td>2</td>
    <td>02</td>
    <td>STX (start of text)</td>
    <td>正文开始 </td>
  </tr>
  <tr>
    <td>00000011</td>
    <td>3</td>
    <td>03</td>
    <td>ETX (end of text)</td>
    <td>正文结束 </td>
  </tr>
  <tr>
    <td>00000100</td>
    <td>4</td>
    <td>04</td>
    <td>EOT (end of transmission)</td>
    <td>传输结束 </td>
  </tr>
  <tr>
    <td>00000101</td>
    <td>5</td>
    <td>05</td>
    <td>ENQ (enquiry)</td>
    <td>请求 </td>
  </tr>
  <tr>
    <td>00000110</td>
    <td>6</td>
    <td>06</td>
    <td>ACK (acknowledge)</td>
    <td>收到通知 </td>
  </tr>
  <tr>
    <td>00000111</td>
    <td>7</td>
    <td>07</td>
    <td>BEL (bell)</td>
    <td>响铃 </td>
  </tr>
  <tr>
    <td>00001000</td>
    <td>8</td>
    <td>08</td>
    <td>BS (backspace)</td>
    <td>退格 </td>
  </tr>
  <tr>
    <td>00001001</td>
    <td>9 </td>
    <td>09</td>
    <td>HT (horizontal tab)</td>
    <td>水平制表符 </td>
  </tr>
  <tr>
    <td>00001010</td>
    <td>10 </td>
    <td>0A </td>
    <td>LF (NL line feed, new line)</td>
    <td>换行键 </td>
  </tr>
  <tr>
    <td>00001011</td>
    <td>11 </td>
    <td>0B </td>
    <td>VT (vertical tab)</td>
    <td>垂直制表符 </td>
  </tr>
  <tr>
    <td>00001100</td>
    <td>12 </td>
    <td>0C </td>
    <td>FF (NP form feed, new page)</td>
    <td>换页键 </td>
  </tr>
  <tr>
    <td>00001101</td>
    <td>13</td>
    <td>0D </td>
    <td>CR (carriage return) </td>
    <td>回车键 </td>
  </tr>
  <tr>
    <td>00001110</td>
    <td>14</td>
    <td>0E </td>
    <td>SO (shift out)</td>
    <td>不用切换 </td>
  </tr>
  <tr>
    <td>00001111</td>
    <td>15</td>
    <td>0F </td>
    <td>SI (shift in)</td>
    <td>启用切换 </td>
  </tr>
  <tr>
    <td>00010000</td>
    <td>16 </td>
    <td>10</td>
    <td>DLE (data link escape) </td>
    <td>数据链路转义 </td>
  </tr>
  <tr>
    <td>00010001</td>
    <td>17</td>
    <td>11 </td>
    <td>DC1 (device control 1) </td>
    <td>设备控制1</td>
  </tr>
  <tr>
    <td>00010010</td>
    <td>18</td>
    <td>12 </td>
    <td>DC2 (device control 2)</td>
    <td>设备控制2</td>
  </tr>
  <tr>
    <td>00010011</td>
    <td>19 </td>
    <td>13</td>
    <td>DC3 (device control 3) </td>
    <td>设备控制3</td>
  </tr>
  <tr>
    <td>00010100</td>
    <td>20</td>
    <td>14 </td>
    <td>DC4 (device control 4)</td>
    <td>设备控制4 </td>
  </tr>
  <tr>
    <td>00010101</td>
    <td>21</td>
    <td>15 </td>
    <td>NAK (negative acknowledge) </td>
    <td>拒绝接收 </td>
  </tr>
  <tr>
    <td>00010110</td>
    <td>22</td>
    <td>16 </td>
    <td>SYN (synchronous idle) </td>
    <td>同步空闲 </td>
  </tr>
  <tr>
    <td>00010111</td>
    <td>23 </td>
    <td>17</td>
    <td>ETB (end of trans. block)</td>
    <td>传输块结束 </td>
  </tr>
  <tr>
    <td>00011000</td>
    <td>24 </td>
    <td>18</td>
    <td>CAN (cancel) </td>
    <td>取消 </td>
  </tr>
  <tr>
    <td>00011001</td>
    <td>25 </td>
    <td>19</td>
    <td>EM (end of medium)</td>
    <td>介质中断 </td>
  </tr>
  <tr>
    <td>00011010</td>
    <td>26 </td>
    <td>1A</td>
    <td>SUB (substitute)</td>
    <td>替补 </td>
  </tr>
  <tr>
    <td>00011011</td>
    <td>27 </td>
    <td>1B</td>
    <td>ESC (escape) </td>
    <td>溢出 </td>
  </tr>
  <tr>
    <td>00011100</td>
    <td>28 </td>
    <td>1C</td>
    <td>FS (file separator) </td>
    <td>文件分割符 </td>
  </tr>
  <tr>
    <td>00011101</td>
    <td>29 </td>
    <td>1D</td>
    <td>GS (group separator) </td>
    <td>分组符 </td>
  </tr>
  <tr>
    <td>00011110</td>
    <td>30 </td>
    <td>1E </td>
    <td>RS (record separator) </td>
    <td>记录分离符 </td>
  </tr>
  <tr>
    <td>00011111</td>
    <td>31 </td>
    <td>1F</td>
    <td>US (unit separator)</td>
    <td>单元分隔符 </td>
  </tr>
  <tr>
    <td>00100000</td>
    <td>32 </td>
    <td>20</td>
    <td>(space)</td>
    <td>空格 </td>
  </tr>
  <tr>
    <td>00100001</td>
    <td>33 </td>
    <td>21 </td>
    <td>!</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>00100010</td>
    <td>34</td>
    <td>22 </td>
    <td>"</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>00100011</td>
    <td>35 </td>
    <td>23</td>
    <td>#</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>00100100</td>
    <td>36 </td>
    <td>24</td>
    <td>$</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>00100101</td>
    <td>37 </td>
    <td>25</td>
    <td>%</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>00100110</td>
    <td>38 </td>
    <td>26</td>
    <td>&amp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>00100111</td>
    <td>39 </td>
    <td>27 </td>
    <td>'</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>00101000</td>
    <td>40 </td>
    <td>28</td>
    <td>(</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>00101001</td>
    <td>41</td>
    <td>29</td>
    <td>)</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>00101010</td>
    <td>42 </td>
    <td>2A</td>
    <td>*</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>00101011</td>
    <td>43</td>
    <td>2B</td>
    <td>+</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>00101100</td>
    <td>44 </td>
    <td>2C </td>
    <td>,</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>00101101</td>
    <td>45 </td>
    <td>2D</td>
    <td>-</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>00101110</td>
    <td>46 </td>
    <td>2E </td>
    <td>.</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>00101111</td>
    <td>47 </td>
    <td>2F</td>
    <td>/ </td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>00110000</td>
    <td>48 </td>
    <td>30</td>
    <td>0</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>00110001</td>
    <td>49 </td>
    <td>31</td>
    <td>1 </td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>00110010</td>
    <td>50 </td>
    <td>32 </td>
    <td>2</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>00110011</td>
    <td>51 </td>
    <td>33</td>
    <td>3 </td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>00110100</td>
    <td>52 </td>
    <td>34 </td>
    <td>4</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>00110101</td>
    <td>53 </td>
    <td>35</td>
    <td>5 </td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>00110110</td>
    <td>54</td>
    <td>36</td>
    <td>6</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>00110111</td>
    <td>55 </td>
    <td>37 </td>
    <td>7 </td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>00111000</td>
    <td>56 </td>
    <td>38</td>
    <td>8 </td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>00111001</td>
    <td>57 </td>
    <td>39 </td>
    <td>9</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>00111010</td>
    <td>58 </td>
    <td>3A</td>
    <td>: </td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>00111011</td>
    <td>59</td>
    <td>3B</td>
    <td>;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>00111100</td>
    <td>60 </td>
    <td>3C</td>
    <td>&lt; </td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>00111101</td>
    <td>61</td>
    <td>3D</td>
    <td>=</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>00111110</td>
    <td>62 </td>
    <td>3E</td>
    <td>&gt; </td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>00111111</td>
    <td>63 </td>
    <td>3F </td>
    <td>?</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01000000</td>
    <td>64 </td>
    <td>40</td>
    <td>@ </td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01000001</td>
    <td>65</td>
    <td>41</td>
    <td>A</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01000010</td>
    <td>66 </td>
    <td>42 </td>
    <td>B </td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01000011</td>
    <td>67</td>
    <td>43</td>
    <td>C</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01000100</td>
    <td>68 </td>
    <td>44 </td>
    <td>D </td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01000101</td>
    <td>69</td>
    <td>45</td>
    <td>E</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01000110</td>
    <td>70</td>
    <td>46 </td>
    <td>F</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01000111</td>
    <td>71</td>
    <td>47</td>
    <td>G</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01001000</td>
    <td>72 </td>
    <td>48</td>
    <td>H </td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01001001</td>
    <td>73</td>
    <td>49</td>
    <td>I</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01001010</td>
    <td>74 </td>
    <td>4A</td>
    <td>J </td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01001011</td>
    <td>75</td>
    <td>4B</td>
    <td>K</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01001100</td>
    <td>76 </td>
    <td>4C </td>
    <td>L </td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01001101</td>
    <td>77</td>
    <td>4D</td>
    <td>M</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01001110</td>
    <td>78 </td>
    <td>4E</td>
    <td>N </td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01001111</td>
    <td>79</td>
    <td>4F</td>
    <td>O</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01010000</td>
    <td>80 </td>
    <td>50</td>
    <td>P </td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01010001</td>
    <td>81</td>
    <td>51</td>
    <td>Q</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01010010</td>
    <td>82</td>
    <td>52 </td>
    <td>R</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01010011</td>
    <td>83</td>
    <td>53</td>
    <td>S</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01010100</td>
    <td>84 </td>
    <td>54</td>
    <td>T </td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01010101</td>
    <td>85 </td>
    <td>55 </td>
    <td>U</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01010110</td>
    <td>86 </td>
    <td>56</td>
    <td>V </td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01010111</td>
    <td>87 </td>
    <td>57</td>
    <td>W</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01011000</td>
    <td>88 </td>
    <td>58</td>
    <td>X </td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01011001</td>
    <td>89</td>
    <td>59 </td>
    <td>Y</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01011010</td>
    <td>90 </td>
    <td>5A</td>
    <td>Z </td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01011011</td>
    <td>91 </td>
    <td>5B</td>
    <td>[ </td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01011100</td>
    <td>92</td>
    <td>5C</td>
    <td>\</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01011101</td>
    <td>93 </td>
    <td>5D</td>
    <td>] </td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01011110</td>
    <td>94</td>
    <td>5E </td>
    <td>^</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01011111</td>
    <td>95 </td>
    <td>5F</td>
    <td>_</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01100000</td>
    <td>96 </td>
    <td>60</td>
    <td>` </td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01100001</td>
    <td>97</td>
    <td>61 </td>
    <td>a</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01100010</td>
    <td>98 </td>
    <td>62</td>
    <td>b </td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01100011</td>
    <td>99 </td>
    <td>63</td>
    <td>c </td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01100100</td>
    <td>100</td>
    <td>64</td>
    <td>d</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01100101</td>
    <td>101 </td>
    <td>65</td>
    <td>e </td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01100110</td>
    <td>102 </td>
    <td>66</td>
    <td>f</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01100111</td>
    <td>103 </td>
    <td>67</td>
    <td>g </td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01101000</td>
    <td>104 </td>
    <td>68 </td>
    <td>h</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01101001</td>
    <td>105 </td>
    <td>69</td>
    <td>i </td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01101010</td>
    <td>106</td>
    <td>6A</td>
    <td>j</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01101011</td>
    <td>107 </td>
    <td>6B</td>
    <td>k </td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01101100</td>
    <td>108 </td>
    <td>6C </td>
    <td>l</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01101101</td>
    <td>109 </td>
    <td>6D </td>
    <td>m</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01101110</td>
    <td>110</td>
    <td>6E</td>
    <td>n</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01101111</td>
    <td>111 </td>
    <td>6F</td>
    <td>o </td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01110000</td>
    <td>112 </td>
    <td>70 </td>
    <td>p</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01110001</td>
    <td>113 </td>
    <td>71</td>
    <td>q </td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01110010</td>
    <td>114 </td>
    <td>72 </td>
    <td>r</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01110011</td>
    <td>115 </td>
    <td>73</td>
    <td>s </td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01110100</td>
    <td>116 </td>
    <td>74 </td>
    <td>t</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01110101</td>
    <td>117 </td>
    <td>75 </td>
    <td>u</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01110110</td>
    <td>118 </td>
    <td>76</td>
    <td>v</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01110111</td>
    <td>119 </td>
    <td>77</td>
    <td>w </td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01111000</td>
    <td>120 </td>
    <td>78</td>
    <td>x</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01111001</td>
    <td>121 </td>
    <td>79</td>
    <td>y </td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01111010</td>
    <td>122 </td>
    <td>7A </td>
    <td>z</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01111011</td>
    <td>123 </td>
    <td>7B</td>
    <td>{</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01111100</td>
    <td>124 </td>
    <td>7C</td>
    <td>|</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01111101</td>
    <td>125 </td>
    <td>7D</td>
    <td>}</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01111110</td>
    <td>126 </td>
    <td>7E </td>
    <td>~</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>01111111</td>
    <td>127 </td>
    <td>7F </td>
    <td>DEL (delete)</td>
    <td>删除 </td>
  </tr>
</tbody></table></div><p></p>

	<!--ascii127-225-->
	<h3>第三部分：扩展ASCII打印字符</h3>
	<p>扩展的ASCII字符满足了对更多字符的需求。扩展的ASCII包含ASCII中已有的128个字符（数字0–32显示在下图中），又增加了128个字符，总共是256个。即使有了这些更多的字符，许多语言还是包含无法压缩到256个字符中的符号。因此，出现了一些ASCII的变体来囊括地区性字符和符号。例如，许多软件程序把ASCII表（又称作ISO8859-1）用于北美、西欧、澳大利亚和非洲的语言。</p>
	<div class="link"><img src="ascii127-255.jpg"></div>

		</div>
	</div>
